package com.tinyengine.it.security;


import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
public class AuthRequest {

    @NotBlank(message = "用户名不能为空")
    private String username;

    /**
     * 密码（使用RSA公钥加密后的密文）
     */
    @NotBlank(message = "密码不能为空")
    private String password;

}